package com.qijian.flowable.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 流程记录查看权限对象 t_flowable_record_power
 *
 * @author qijian
 * @date 2021-09-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("t_flowable_record_power")
public class FlowableRecordPower extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "ID")
    private Long id;

    /** 流程定义ID */
    @Excel(name = "流程定义ID")
    @ApiModelProperty(value = "流程定义ID")
    private String processIntaneId;

    /** 类型 */
    @Excel(name = "类型")
    @ApiModelProperty(value = "类型")
    private String type;

    /** 所属用户 */
    @Excel(name = "所属用户")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "所属用户")
    private Long userId;

    /** 是否阅读 */
    @ApiModelProperty(value = "是否阅读")
    private Boolean isRead;

}
